package com.dm.util;

import com.jacob.com.Variant;

public class VariantUtil {

	public static Variant[] varToVariants(Object...objects){
		if(objects == null){
			return null;
		}
		Variant[] variants = new Variant[objects.length];
		for (int i = 0; i < variants.length; i++) {
			variants[i] = new Variant(objects[i]);
		}
		return variants;
		
	}
}
